package com.framework.boc.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Leil
 * @since 2020-08-27
 */
@TableName("JY_CONTRACT_INFO")
@ApiModel(value="ContractInfo对象", description="")
public class ContractInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "合同表主键")
    @TableId("ID")
    private Integer id;

    @ApiModelProperty(value = "商户订单号")
    @TableField("ORDER_NO")
    private String orderNo;

    @ApiModelProperty(value = "合同号")
    @TableField("VBILL_CODE")
    private String vbillCode;

    @ApiModelProperty(value = "合同名称")
    @TableField("CT_NAME")
    private String ctName;

    @ApiModelProperty(value = "订单客户编码")
    @TableField("CUST_CODE")
    private String custCode;

    @ApiModelProperty(value = "订单客户名称")
    @TableField("CUST_NAME")
    private String custName;

    @ApiModelProperty(value = "客户手机号")
    @TableField("MOBILE")
    private String mobile;

    @TableField(exist=false)
    private List<MaterialInfo> listMaterialInfo;

    public List<MaterialInfo> getListMaterialInfo() {
        return listMaterialInfo;
    }

    public void setListMaterialInfo(List<MaterialInfo> listMaterialInfo) {
        this.listMaterialInfo = listMaterialInfo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getVbillCode() {
        return vbillCode;
    }

    public void setVbillCode(String vbillCode) {
        this.vbillCode = vbillCode;
    }

    public String getCtName() {
        return ctName;
    }

    public void setCtName(String ctName) {
        this.ctName = ctName;
    }

    public String getCustCode() {
        return custCode;
    }

    public void setCustCode(String custCode) {
        this.custCode = custCode;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return "ContractInfo{" +
        "id=" + id +
        ", orderNo=" + orderNo +
        ", vbillCode=" + vbillCode +
        ", ctName=" + ctName +
        ", custCode=" + custCode +
        ", custName=" + custName +
        ", mobile=" + mobile +
        "}";
    }
}
